package com.tklab.smartcity.ui.notifications;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProvider;

import com.tklab.smartcity.R;
import com.tklab.smartcity.activity.loginActivity;
import com.tklab.smartcity.databinding.FragmentNotificationsBinding;
import com.tklab.smartcity.ui.BaseFragment;

public class NotificationsFragment extends BaseFragment {

    Button btnlogin;

    @Override
    protected int layoutId() {
        return R.layout.fragment_notifications;
    }

    @Override
    protected void initView(View view) {
        btnlogin=view.findViewById(R.id.btnlogin);
        btnlogin.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(getActivity(), loginActivity.class);
                startActivity(intent);
            }
        });
    }

    @Override
    protected void initData(Context context) {

    }
}